SmartFTP FTP Library
IKeyManager::SaveFile Method

Saves the key to a file.

IDL
HRESULT SaveFile(
    [in] KeyFileFormat fileformat, 
    [in] IKey* pKey, 
    [in] KeyType keytype, 
    [in] BSTR bstrFile, 
    [in] BSTR bstrPassword, 
    [out, retval] VARIANT_BOOL* retval
);
Parameters

fileformat
The file format of the key file.
pKey
The key to be saved.
keytype
The key type to be saved.
bstrFile
The file the key is saved to.
bstrPassword
The password used to encrypt the key.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.